﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001307 RID: 4871
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncRogueStatusScNotify : IMessage<SyncRogueStatusScNotify>, IMessage, IEquatable<SyncRogueStatusScNotify>, IDeepCloneable<SyncRogueStatusScNotify>, IBufferMessage
	{
		// Token: 0x17003D7F RID: 15743
		// (get) Token: 0x0600DA18 RID: 55832 RVA: 0x00248B6D File Offset: 0x00246D6D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncRogueStatusScNotify> Parser
		{
			get
			{
				return SyncRogueStatusScNotify._parser;
			}
		}

		// Token: 0x17003D80 RID: 15744
		// (get) Token: 0x0600DA19 RID: 55833 RVA: 0x00248B74 File Offset: 0x00246D74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncRogueStatusScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003D81 RID: 15745
		// (get) Token: 0x0600DA1A RID: 55834 RVA: 0x00248B86 File Offset: 0x00246D86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncRogueStatusScNotify.Descriptor;
			}
		}

		// Token: 0x0600DA1B RID: 55835 RVA: 0x00248B8D File Offset: 0x00246D8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueStatusScNotify()
		{
		}

		// Token: 0x0600DA1C RID: 55836 RVA: 0x00248B95 File Offset: 0x00246D95
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueStatusScNotify(SyncRogueStatusScNotify other) : this()
		{
			this.status_ = other.status_;
			this.iBHHFPLJNAF_ = other.iBHHFPLJNAF_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DA1D RID: 55837 RVA: 0x00248BC6 File Offset: 0x00246DC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueStatusScNotify Clone()
		{
			return new SyncRogueStatusScNotify(this);
		}

		// Token: 0x17003D82 RID: 15746
		// (get) Token: 0x0600DA1E RID: 55838 RVA: 0x00248BCE File Offset: 0x00246DCE
		// (set) Token: 0x0600DA1F RID: 55839 RVA: 0x00248BD6 File Offset: 0x00246DD6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueStatus Status
		{
			get
			{
				return this.status_;
			}
			set
			{
				this.status_ = value;
			}
		}

		// Token: 0x17003D83 RID: 15747
		// (get) Token: 0x0600DA20 RID: 55840 RVA: 0x00248BDF File Offset: 0x00246DDF
		// (set) Token: 0x0600DA21 RID: 55841 RVA: 0x00248BE7 File Offset: 0x00246DE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IBHHFPLJNAF
		{
			get
			{
				return this.iBHHFPLJNAF_;
			}
			set
			{
				this.iBHHFPLJNAF_ = value;
			}
		}

		// Token: 0x0600DA22 RID: 55842 RVA: 0x00248BF0 File Offset: 0x00246DF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncRogueStatusScNotify);
		}

		// Token: 0x0600DA23 RID: 55843 RVA: 0x00248BFE File Offset: 0x00246DFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncRogueStatusScNotify other)
		{
			return other != null && (other == this || (this.Status == other.Status && this.IBHHFPLJNAF == other.IBHHFPLJNAF && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DA24 RID: 55844 RVA: 0x00248C3C File Offset: 0x00246E3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Status != RogueStatus.None)
			{
				num ^= this.Status.GetHashCode();
			}
			if (this.IBHHFPLJNAF)
			{
				num ^= this.IBHHFPLJNAF.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DA25 RID: 55845 RVA: 0x00248C9A File Offset: 0x00246E9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DA26 RID: 55846 RVA: 0x00248CA2 File Offset: 0x00246EA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DA27 RID: 55847 RVA: 0x00248CAC File Offset: 0x00246EAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Status != RogueStatus.None)
			{
				output.WriteRawTag(88);
				output.WriteEnum((int)this.Status);
			}
			if (this.IBHHFPLJNAF)
			{
				output.WriteRawTag(104);
				output.WriteBool(this.IBHHFPLJNAF);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DA28 RID: 55848 RVA: 0x00248D08 File Offset: 0x00246F08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Status != RogueStatus.None)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Status);
			}
			if (this.IBHHFPLJNAF)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DA29 RID: 55849 RVA: 0x00248D54 File Offset: 0x00246F54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncRogueStatusScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Status != RogueStatus.None)
			{
				this.Status = other.Status;
			}
			if (other.IBHHFPLJNAF)
			{
				this.IBHHFPLJNAF = other.IBHHFPLJNAF;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DA2A RID: 55850 RVA: 0x00248DA4 File Offset: 0x00246FA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DA2B RID: 55851 RVA: 0x00248DB0 File Offset: 0x00246FB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.IBHHFPLJNAF = input.ReadBool();
					}
				}
				else
				{
					this.Status = (RogueStatus)input.ReadEnum();
				}
			}
		}

		// Token: 0x040056C4 RID: 22212
		private static readonly MessageParser<SyncRogueStatusScNotify> _parser = new MessageParser<SyncRogueStatusScNotify>(() => new SyncRogueStatusScNotify());

		// Token: 0x040056C5 RID: 22213
		private UnknownFieldSet _unknownFields;

		// Token: 0x040056C6 RID: 22214
		public const int StatusFieldNumber = 11;

		// Token: 0x040056C7 RID: 22215
		private RogueStatus status_;

		// Token: 0x040056C8 RID: 22216
		public const int IBHHFPLJNAFFieldNumber = 13;

		// Token: 0x040056C9 RID: 22217
		private bool iBHHFPLJNAF_;
	}
}
